<template>
  <!-- 环境告警 -->
  <div>
    <!-- 表格 -->
    <div class="table">
      <div class="self">
        <el-table
          ref="tableRef"
          :data="tableData"
          tooltip-effect="dark"
          style="width: 100%; margin-top: 16px"
        >
          <el-table-column
            width="80"
            align="center"
            prop="alarmId"
            label="类别"
          >
          </el-table-column>
          <el-table-column
            align="center"
            prop="alarmCategory"
            label="子项"
            show-overflow-tooltip
          >
          </el-table-column>
          <el-table-column align="center" prop="alarmValue" label="显示/隐藏">
          </el-table-column>
        </el-table>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      tableData: [],
    };
  },
  created() {},
  methods: {},
};
</script>

<style scoped lang="scss">
.table {
  width: 100%;
  height: 738px;
  // margin-top: 16px;
  border-top: 1px solid rgba(219, 255, 251, 0.2);
  padding: 24px;
  box-sizing: border-box;
  .btns {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    div:nth-child(2) {
      margin: 0 16px;
    }
  }
  .table-btns {
    display: flex;
    div {
      display: flex;
      width: 46px;
      height: 28px;
      justify-content: center;
      align-items: center;
      font-size: 12px;
    }
    div:nth-child(2) {
      margin: 0 10px;
    }
    .gray {
      color: orange;
    }
    .green {
      color: #73f6af;
    }
  }
}
.column-imgs {
  img {
    width: 24px;
    height: 24px;
    cursor: pointer;
  }
}
.critica {
  color: #ff5562;
}
.severity {
  color: #ff7000;
}
.ordinary {
  color: #ffad30;
}
.warning {
  color: #cc77dc;
}
/** 音频播放器*/
.aplayer {
  background-color: transparent;
  color: #fff;
  .aplayer-body {
    display: flex;
    flex-direction: column;
    .aplayer-pic {
      //
    }
  }
}
/**弹框样式 */
.dialog-lineone {
  display: flex;
  margin: 0 0 20px 0;
  div:nth-child(1) {
    width: 50%;
  }
  div:nth-child(2) {
    width: 45%;
  }
  div:nth-child(3) {
    width: 5%;
  }
}
.change-audio {
  display: flex;
  margin-top: 20px;
  justify-content: center;
  div:nth-child(2) {
    margin-left: 20px;
  }
}

::v-deep {
  .el-date-editor.el-input,
  .el-date-editor.el-input__inner {
    width: 195px;
  }
}
::v-deep {
  .el-dialog:not(.is-fullscreen) {
    margin-top: 30vh !important;
  }
}
::v-deep {
  .el-dialog:not(.is-fullscreen) {
    margin-top: 30vh !important;
  }
  .el-checkbox {
    margin-right: 10px;
  }
}
</style>
